package com.spring.annotation.config;
 
import com.spring.annotation.factory.DemoFactoryBean;
import org.springframework.context.annotation.*;
 
@Configuration
public class BeanFactoryConfig {
 
    @Bean
    public DemoFactoryBean demoFactoryBean(){
        return new DemoFactoryBean();
    }
 
}